package com.xdm.ui.impl;

import com.xdm.ui.XmDecoratedText;
import com.xdm.ui.XmImage;

public class XmDecoratedTextImpl  implements XmDecoratedText {
    
	private String text = "";
	private XmImage image;
	private boolean selectable = true;

	public XmDecoratedTextImpl(String text, XmImage image) {
		this.text = text;
		this.image = image;
	}
	
	public boolean isSelectable() {
		return selectable;
	}
	
	public void setSelectable(boolean selectable) {
		this.selectable = selectable;
	}
	
	public String getText() {
		return text;
	}
	
	public void setText(String text) {
		this.text = text;
	}
	
	public void setDecoration(XmImage image) {
		this.image = image;
	}
	
	public XmImage getDecoration() {
		return image;
	}
}
